package com.oa.ylms.apps.business.file;

import java.util.List;

import com.oa.ylms.apps.entity.file.FileCategoryValue;

    public interface IFileCategoryService {

    public List<FileCategoryValue> queryAllCategory() throws Exception;
	
	public FileCategoryValue queryCategoryById(int categoryId) throws Exception;

	public int addFileCategory(String categoryName) throws Exception;
	
	public boolean deleteFileCategory(int categoryId ,int states) throws Exception;

	public boolean modifyFileCategory(int categoryId,String categoryName,int states) throws Exception;

	public boolean toDisable(int categoryId) throws Exception;
	
	public boolean toEnable(int categoryId) throws Exception;
	
	public List<FileCategoryValue> queryCategoryByStates(Integer states) throws Exception;
	
}
